package com.sj.purchase.modules.cost.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class IndexController {
    /**
     * 上海仓销量统计
     *
     * @return
     */
    @GetMapping("shSales")
    public String shSales() {
        return "warehouse/shSales";
    }

    /**
     * 进销存报表-期末库存成本
     *
     * @return
     */
    @GetMapping("stockCost")
    public String stockCost() {
        return "invoicing/stockCost";
    }


    /**
     * 进销存报表-库存调整单
     *
     * @return
     */
    @GetMapping("stockAdjust")
    public String stockAdjust() {
        return "invoicing/stockAdjust";
    }

    /**
     * 进销存报表-库存校验
     *
     * @return
     */
    @GetMapping("stockValidate")
    public String stockValidate() {
        return "invoicing/stockValidate";
    }

    /**
     * 进销存报表
     *
     * @return
     */
    @GetMapping("reportForms")
    public String reportForms() {
        return "invoicing/reportForms";
    }

    /**
     * 进销存报表-库存明细
     *
     * @return
     */
    @GetMapping("stockInfo")
    public String stockInfo() {
        return "invoicing/stockInfo";
    }

    /**
     * 出入库明细
     */
    @GetMapping("storageDetail")
    public String storageDetail() {
        return "storage/storageDetail";
    }

    /**
     * 在库明细
     */
    @GetMapping("inventory")
    public String inventory() {
        return "inventory/inventory";
    }

    /**
     * 出库明细
     */
    @GetMapping("out-inventory")
    public String outInventory() {
        return "inventory/out_inventory";
    }

    /**
     * 库存对比
     */
    @GetMapping("stockContrast")
    public String stockContrast() {
        return "stock/stock_contrast";
    }

    /**
     * 同步差异
     */
    @GetMapping("discrepancy")
    public String discrepancy() {
        return "invoicing/discrepancy";
    }

    /**
     * 移动平均成本价
     */
    @GetMapping("cost-price")
    public String costPrice() {
        return "price/cost_price";
    }

    /**
     * 订单成本价
     */
    @GetMapping("order-cost-price")
    public String orderCostPrice() {
        return "price/order_cost_price";
    }

    @GetMapping("out-order-price")
    public String outOrderPrice() {
        return "out_order_price";
    }

}